<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <!-- 引入外部css -->
    <link rel="stylesheet" href="../css/2.css">

    <style>
        /*    div {
            color: yellow;
        } */
    </style>
</head>

<body>

    <!-- 1.行内样式 -->
    <!-- <div style="color: red;">这里div标签</div> -->
    <div>这里div标签</div>

</body>

</html>